public class TestStar {
	public static void main(String[] args) {
		int layer = 12;
		for(int i=1;i<=layer;i++) {
			int snum = 2*i-1;
			int space = layer-i;
			for(int j=0;j<space;j++) {
				System.out.print(" ");
			}
			for(int j=0;j<snum;j++) {
				System.out.print("*");
			}
			System.out.println();
		}

		for(int i=layer;i>=1;i--) {
			if(layer==i) {
				continue;
			}
			int snum = 2*i-1;
			int space = layer-i;
			for(int j=0;j<space;j++) {
				System.out.print(" ");
			}
			for(int j=0;j<snum;j++) {
				System.out.print("*");
			}
			System.out.println();
		}
	}
}